package com.letoken.platform.repo.ecommerce.dao;

//import com.letoken.platform.repo.ecommerce.po.EcommerceShop;
//import com.baomidou.mybatisplus.core.mapper.BaseMapper;
//import com.letoken.platform.repo.ecommerce.vo.UserShopInfoRes;
//import org.apache.ibatis.annotations.Param;
//import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 商家记录 Mapper 接口
 * </p>
 *
 * @author author
 * @since 2023-09-08
 */
//public interface EcommerceShopMapper extends BaseMapper<EcommerceShop> {
//
//
//    @Select("select * from ecommerce_shop where user_id = #{userId} ")
//    EcommerceShop obtainShop(@Param("userId") Integer userId);
//
//
//    @Select("select s.id,s.name,s.logo,(select count(1) from ecommerce_product p where p.shop_id = s.id and  p.publish_status = 0 and p.delete_status = 0 ) as count from ecommerce_shop s  where s.id = #{id}  ")
//    UserShopInfoRes obtainSimpleShop(@Param("id") Integer id);
//
//}
